/**
 * 
 */
package xiaojian.toolkit.fsm.util;

import java.util.UUID;

import xiaojian.toolkit.fsm.ContextKeyFactory;


/**
 * @author hp
 *
 */
public class AlwaysNewKeyFactory implements ContextKeyFactory {

	/* (non-Javadoc)
	 * @see com.skymobi.fsm.ContextKeyFactory#removeKey(java.lang.Object)
	 */
	public void removeKey(Object key) {
	}

	/* (non-Javadoc)
	 * @see com.skymobi.fsm.ContextKeyFactory#transformToKey(java.lang.Object)
	 */
	public Object transformToKey(Object event) {
		return	UUID.randomUUID();
	}

}
